package com.ruoyi.estate.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单元管理对象 building_unit
 * 
 * @author 博雅
 * @date 2023-12-19
 */
public class BuildingUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单元ID */
    private Long unitId;

    /** 单元编号 */
    @Excel(name = "单元编号")
    private String unitNum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** 楼ID */
    @Excel(name = "楼ID")
    private Long floorId;

    /** 总层数 */
    @Excel(name = "总层数")
    private Long layerCount;

    /** 是否有电梯 1010有 2020 无 */
    @Excel(name = "是否有电梯 1010有 2020 无")
    private String lift;

    /** 单元面积 */
    @Excel(name = "单元面积")
    private BigDecimal unitArea;

    public void setUnitId(Long unitId) 
    {
        this.unitId = unitId;
    }

    public Long getUnitId() 
    {
        return unitId;
    }
    public void setUnitNum(String unitNum) 
    {
        this.unitNum = unitNum;
    }

    public String getUnitNum() 
    {
        return unitNum;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFloorId(Long floorId) 
    {
        this.floorId = floorId;
    }

    public Long getFloorId() 
    {
        return floorId;
    }
    public void setLayerCount(Long layerCount) 
    {
        this.layerCount = layerCount;
    }

    public Long getLayerCount() 
    {
        return layerCount;
    }
    public void setLift(String lift) 
    {
        this.lift = lift;
    }

    public String getLift() 
    {
        return lift;
    }
    public void setUnitArea(BigDecimal unitArea) 
    {
        this.unitArea = unitArea;
    }

    public BigDecimal getUnitArea() 
    {
        return unitArea;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("unitId", getUnitId())
            .append("unitNum", getUnitNum())
            .append("name", getName())
            .append("floorId", getFloorId())
            .append("layerCount", getLayerCount())
            .append("lift", getLift())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("unitArea", getUnitArea())
            .toString();
    }
}
